<template>
  <web-view :src="src" />
</template>

<script setup lang="ts">
import { ref } from 'vue'
import { onLoad } from '@dcloudio/uni-app'

const src = ref('')
onLoad((query) => {
  if (query && query.url) {
    src.value = query.url
  }
})
</script>
<script lang="ts">
export default {
  name: 'WebView'
}
</script>
<style scoped lang="scss"></style>
